<?php
header('content-type:text/html; charset=utf-8');

define('BASE_PATH', dirname(__FILE__));
define('PROTECTED_PATH', BASE_PATH . '/protected');

require PROTECTED_PATH . '/config/constants.php';
$config = PROTECTED_PATH . '/config/main.php';

$yii = YII_PATH . '/yii.php';
require $yii;
Yii::createWebApplication($config)->run();
